in autoexec.cfg (create in base game dir if it doesn't exist):
bind e []
to disable edittoggle at game engine start.
then modify data/menus.cfg:
newmenu keyswitcher
menuitem "normal" [exec gamekeys.cfg]
menuitem "editor" [exec editkeys.cfg]
Do not forget to add a "showmenu"-line for your new menu too (see above).
Then all you have to do is copy data/defaults.cfg to gamekeys.cfg and editkeys.cfg (in base folder)
and then edit them to match your needs. So probably you'll delete all lines not containing a keybind.
Remember to keep the edittoggle bind for editkeys.cfg and in gamekeys.cfg to bind to an empty string (like in autoexec.cfg above).